<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="http://darlingbastard.com/java/taglibs/stacks" %>
<s:import url="index.jsp">
    <%-- the following line will override the 'title' value in index.jsp --%>
    <s:set var="title" >Stacks Sample #1</s:set>
    <%-- the following line will override the 'content' value in index.jsp --%>
    <s:set var="content">
        <h2>Stacks Demo #2</h2>
        <p>
            This is an example of using stacks to substitute dynamic content into a complex template.
        </p>
        <p>
            In this example the file <a href="index.jsp">index.jsp</a>
            is being rendered but the title and content elements have been replaced.
        </p>
        <p>
            <a href="demo3.jsp">next >></a>
        </p>
    </s:set>
</s:import>
